home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
bipl.zip
/
PROCS.ZIP
/
IPAUSE.ICN
< prev
next >
Wrap
Text File
|
1992-09-28
|
901b
|
34 lines
############################################################################
#
# File: ipause.icn
#
# Subject: Procedure to pause within an Icon program
#
# Author: Richard L. Goerwitz
#
# Date: June 3, 1991
#
###########################################################################
#
# Version: 1.2
#
###########################################################################
#
# ipause(i) - pause i milliseconds (accuracy depends on the resolution
# of the system clock). Would be nice if Icon had a nap() function, so
# that we didn't just have to loop. Of course, for operating systems
# that don't support all this multitasking nonsense, ipause() will do
# just fine.
#
############################################################################
procedure ipause(i)
local T
T := &time
until &time >= (T + i)
return
end